stratisd.spec: Change dracut order number from 90 to 50#558
stratisd.spec: Change dracut order number from 90 to 50#558mulkieran merged 1 commit intostratis-storage:masterfrom
Conversation
Signed-off-by: mulhern <amulhern@redhat.com>
WalkthroughAdjusted dracut module paths in the spec file’s %files dracut block from modules.d/90stratis-* to modules.d/50stratis-* for six entries. Systemd generator entries were unchanged. No other sections were modified. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks (3 passed)✅ Passed checks (3 passed)
Poem
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. ✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
mockbuild_test/stratisd.spec (1)
154-159: Please verify upstream install paths and ordering assumptions before merging.
- Ensure the build/install actually places these files under modules.d/50{stratis,stratis-clevis}; otherwise the build will fail at %files with “File not found” or “Installed (but unpackaged) file(s) found.”
- Confirm module-setup.sh depends() in both modules still encode any prerequisites now that execution will occur earlier (e.g., systemd, cryptsetup/clevis, lvm/dm). If order is critical for boot, plan for an initramfs rebuild note in release docs.
Optional improvement: explicitly own the module directories to avoid ownership gaps on cleanup.
%files dracut %license LICENSE +%dir %{dracutdir}/modules.d/50stratis-clevis +%dir %{dracutdir}/modules.d/50stratis %{dracutdir}/modules.d/50stratis-clevis/module-setup.sh %{dracutdir}/modules.d/50stratis-clevis/stratis-clevis-rootfs-setup %{dracutdir}/modules.d/50stratis/61-stratisd.rules %{dracutdir}/modules.d/50stratis/module-setup.sh %{dracutdir}/modules.d/50stratis/stratis-rootfs-setup %{dracutdir}/modules.d/50stratis/stratisd-min.service
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
mockbuild_test/stratisd.spec(1 hunks)
🔇 Additional comments (1)
mockbuild_test/stratisd.spec (1)
154-159: LGTM: paths updated to 50stratis/50stratis-clevis look consistent with the renumbering goal.
The six entries correctly mirror the intended move from 90 → 50 within dracut’s modules.d hierarchy.
Related stratis-storage/stratisd#3908
Summary by CodeRabbit